/*    */ package com.structure.proxy.dynamic;
/*    */ 
/*    */ import com.structure.proxy.CarFactory;
/*    */ import com.structure.proxy.IBuyCar;
/*    */ import java.lang.reflect.Proxy;
/*    */ 
/*    */ public class ProxyTest
/*    */ {
/*    */   public static void main(String[] args)
/*    */   {
/* 11 */     CarFactory carFactory = new CarFactory();
/* 12 */     IBuyCar buyCar = (IBuyCar)Proxy.newProxyInstance(IBuyCar.class.getClassLoader(), 
/* 13 */       new Class[] { IBuyCar.class }, new DynamicProxyHandler(carFactory));
/* 14 */     buyCar.getCar();
/*    */   }
/*    */ }

/* Location:           C:\Users\lenovo\Desktop\DesignMode.jar
 * Qualified Name:     com.structure.proxy.dynamic.ProxyTest
 * JD-Core Version:    0.6.2
 */